package com.siss.tenancy.vo;

/**
 * <p>类名: EleTreeBasicVo</p>
 * <p>描述:layui-eletree基础数据实体，即从数据库获取的实体，用于生成树形，支持多根结构</p>
 * <p>创建人: wangxj</p>
 * <p>创建时间: 2018/10/16 13:44</p>
 * <p>@version 2.0  </p>
 * <p>修改内容: ......</p>
 * <p>修改说明: ......</p>
 * <p>修改时间: ......</p>
 * <p>修改人: ......</p>
 * <p>每次修改，请增加上述修改信息说明</>
 */
public class EleTreeBasicVo {
    /**子节点id*/
    private String childId;
    /**子节点名称*/
    private String childName;
    /**父节点id*/
    private String parentId;
    /**父节点名称*/
    private String parentName;
    /**是否选中:可用于树形勾选,如:已有权限/岗位等*/
    private boolean isChecked;
    /**是否禁用:用于可看不可选的场景*/
    private boolean isDisabled;

    public String getChildId() {
        return childId;
    }

    public void setChildId(String childId) {
        this.childId = childId;
    }

    public String getChildName() {
        return childName;
    }

    public void setChildName(String childName) {
        this.childName = childName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public boolean getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(boolean isChecked) {
        this.isChecked = isChecked;
    }

    public boolean getIsDisabled() {
        return isDisabled;
    }

    public void setIsDisabled(boolean isDisabled) {
        this.isDisabled = isDisabled;
    }

    public EleTreeBasicVo() {
    }

    public EleTreeBasicVo(String childId, String childName, String parentId, String parentName, boolean isChecked, boolean isDisabled) {
        this.childId = childId;
        this.childName = childName;
        this.parentId = parentId;
        this.parentName = parentName;
        this.isChecked = isChecked;
        this.isDisabled = isDisabled;
    }

    @Override
    public String toString() {
        return "EleTreeBasicVo{" +
                "childId='" + childId + '\'' +
                ", childName='" + childName + '\'' +
                ", parentId='" + parentId + '\'' +
                ", parentName='" + parentName + '\'' +
                ", isChecked=" + isChecked +
                ", isDisabled=" + isDisabled +
                '}';
    }
}
